package com.ccb.sc.common.modules.shopkeeper.convert;

import com.ccb.sc.common.modules.shopkeeper.entity.ShopkeeperAuth;
import com.ccb.sc.common.modules.shopkeeper.vo.ShopkeeperAuthCreateVo;
import com.ccb.sc.common.modules.shopkeeper.vo.ShopkeeperAuthVo;
import org.mapstruct.Mapper;

import static org.mapstruct.factory.Mappers.getMapper;

/**
 * @author ken
 * @version 1.0
 * @date 2020-09-16
 */
@Mapper
public interface ShopkeeperAuthConvert {

    ShopkeeperAuthConvert INSTANCE = getMapper(ShopkeeperAuthConvert.class);

    ShopkeeperAuth createVo2Entity(ShopkeeperAuthCreateVo createVo);

    ShopkeeperAuthVo entity2Vo(ShopkeeperAuth entity);
}
